package com.zenchn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 批量修改角色权限映射对象
 *
 * @author dingxinfa
 * @date 2018-08-29
 **/
@ApiModel(value="批量修改角色权限映射对象",description="批量修改角色权限映射对象")
public class RoleAuthBatchDO {

    @NotEmpty(message = "角色ID列表不能为空")
    @ApiModelProperty(value="角色ID列表")
    private List<String> roleIdList;

    @NotEmpty(message = "权限ID列表不能为空")
    @ApiModelProperty(value="权限ID列表")
    private List<String> authIdList;

    public List<String> getRoleIdList() {
        return roleIdList;
    }

    public void setRoleIdList(List<String> roleIdList) {
        this.roleIdList = roleIdList;
    }

    public List<String> getAuthIdList() {
        return authIdList;
    }

    public void setAuthIdList(List<String> authIdList) {
        this.authIdList = authIdList;
    }

    @Override
    public String toString() {
        return "RoleAuthBatchDO{" +
                "roleIdList=" + roleIdList +
                ", authIdList=" + authIdList +
                '}';
    }
}
